<?php if (!defined('THINK_PATH')) exit();?><!--
 * Created by JetBrains PhpStorm.
 * User: Xnfy520@gmail.com
 * Date: 12-3-12
 * Time: 下午5:20
 -->
<!DOCTYPE html>
<html>
<head>
    <title></title>
    <link href="../Public/css/index.css" rel="stylesheet" type="text/css" />
        <link href="../Public/css/<?php echo (strtolower(MODULE_NAME)); ?>.css" rel="stylesheet" type="text/css" class="changecss" />
    <script src="__PUBLIC__/js/jquery-1.7.1.min.js"></script>
    <script src="../Public/js/index.js"></script>
</head>
<body>
<div id="header">
    <a href="__ROOT__/admin.php/Public/login">进入后台</a>
    <a href="__ROOT__/admin.php/Index">后台首页</a>
   <div id="nav">
       <ul>
           <?php if(is_array($menuitems)): $i = 0; $__LIST__ = $menuitems;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><li class="navs">
                   <a href="__ROOT__/<?php echo ($vo['link']); ?>"><?php echo ($vo['name']); ?></a>
                   <?php if(!empty($vo['list'])): ?><ul>
                            <?php if(is_array($vo['list'])): $i = 0; $__LIST__ = $vo['list'];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vos): $mod = ($i % 2 );++$i;?><li><a href="<?php echo ($vos['link']); ?>"><?php echo ($vos['name']); ?></a></li><?php endforeach; endif; else: echo "" ;endif; ?>
                       </ul><?php endif; ?>
               </li><?php endforeach; endif; else: echo "" ;endif; ?>
       </ul>
   </div>
</div>
<div id="content">

<div id="category-one">
    <ul>
       <li class="lishow">sdf</li>
       <li>sdf</li>
       <li>sfdsf</li>
    </ul>
        <div class="divshow">11111</div>
        <div>222222</div>
        <div>333333333</div>
</div>

<div id="category-two">
    <ul>
        <li class="lishow">sdf</li>
        <li>sdf</li>
        <li>sfdsf</li>
    </ul>
    <div class="divshow">11111</div>
    <div>222222</div>
    <div>333333333</div>
</div>

<div id="user">
    <div class="title">最新用户</div>

</div>

<div id="pic">
    <div class="title">最新图片</div>
</div>

<div id="category-three">
    <ul>
        <li class="lishow">sdf</li>
        <li>sdf</li>
        <li>sfdsf</li>
    </ul>
    <div class="divshow">11111</div>
    <div>222222</div>
    <div>333333333</div>
</div>

<div id="category-four">
    <ul>
        <li class="lishow">sdf</li>
        <li>sdf</li>
        <li>sfdsf</li>
    </ul>
    <div class="divshow">11111</div>
    <div>222222</div>
    <div>333333333</div>
</div>

<div id="link">
    <div class="title">友情链接</div>

</div>
</div>

<div id="footer">
    这里脚部
    <?php echo (ACTION_NAME); ?>
</div>
<script type="text/javascript">
    var URL = "__URL__";
    var APP = "__APP__";
    var ROOT = "__ROOT__";
    var ACTION = "__ACTION__";

    var CSS = "../Public/css";
    var JS = '../Public/js';
    var SELF = '__SELF__';

    var module_name = "<?php echo (MODULE_NAME); ?>";
    var action_name = "<?php echo (ACTION_NAME); ?>";

</script>